//TEST
const TEST_GET = "/api/test/get";
const TEST_POST = "/api/test/post";

const AUTH = "/api/user/auth"
const LOGIN = "/api/user/login"
const REGISTER = '/api/user/register'

// 商品分类管理
const COMMODITY_CLASSIFICATION_ALL = '/api/category/queryAll'
const COMMODITY_CLASSIFICATION_CREATE = '/api/category/create'
const COMMODITY_CLASSIFICATION_UPDATE = '/api/category/update'
const COMMODITY_CLASSIFICATION_DELETE = '/api/category/delete'

// 商品管理
const COMMODITY_ALL = '/api/product/queryAll';
const COMMODITY_CREATE = '/api/product/create';
const COMMODITY_UPDATE = '/api/product/update';
const COMMODITY_DELETE = '/api/product/delete';


const WAREHOUSE_INPUT = '/api/warehouse/input';
const WAREHOUSE_OUTPUT_PRE = '/api/warehouse/product/count';
const WAREHOUSE_OUTPUT = '/api/warehouse/output';
const WAREHOUSE_GET_INPUTSHEET = '/api/warehouse/inputSheet/state';
const WAREHOUSE_GET_OUTPUTSHEET = '/api/warehouse/outputSheet/state';
const WAREHOUSE_IO_DEATIL_BY_TIME = '/api/warehouse/sheetContent/time';
const WAREHOUSE_IPQ_BY_TIME = '/api/warehouse/inputSheet/time/quantity';
const WAREHOUSE_OPQ_BY_TIME = '/api/warehouse/outputSheet/time/quantity';
const WAREHOUSE_OUTPUTSHEET_APPROVE = '/api/warehouse/outputSheet/approve';
const WAREHOUSE_INPUTSHEET_APPROVE = '/api/warehouse/inputSheet/approve';
const WAREHOUSE_DAILY_COUNT = '/api/warehouse/warehouse/counting';


// 销售管理

//账户管理
const ACCOUNT_QUERY = '/api/account/queryAll';
const ACCOUNT_CREATE = '/api/account/register';
const ACCOUNT_UPDATE = '/api/account/update';
const ACCOUNT_DELETE = '/api/account/delete';
// 进货管理
const PURCHASE_ALL = '/api/purchase/sheet-show';
const PURCHASE_FIND_SHEET_BY_ID = '/api/purchase/find-sheet';
const PURCHASE_CREATE = '/api/purchase/sheet-make';
const PURCHASE_FIRST_APPROVAL = '/api/purchase/first-approval';
const PURCHASE_SECOND_APPROVAL = '/api/purchase/second-approval';
// 进货退货管理
const PURCHASE_RETURN_ALL = '/api/purchase-returns/sheet-show';
const PURCHASE_RETURN_CREATE = '/api/purchase-returns/sheet-make';
const PURCHASE_RETURN_FIRST_APPROVAL = '/api/purchase-returns/first-approval';
const PURCHASE_RETURN_SECOND_APPROVAL = '/api/purchase-returns/second-approval';
// 销售管理
const SALE_ALL = '/api/sale/sheet-show';
const SALE_CREATE = '/api/sale/sheet-make';
const SALE_FIRST_APPROVAL = '/api/sale/first-approval';
const SALE_SECOND_APPROVAL = '/api/sale/second-approval';
const SALE_FIND_SHEET_BY_ID = '/api/sale/find-sheet';

const SALE_ALL_DETAIL = '/api/sale-specific/specific';
const SALE_CONDITION = '/api/sale/condition';



const SALE_GET = '/api//business-history/sale-sheet';
const SALE_RETURN_GET = '/api//business-history/sale-returns-sheet';
const SALE_PURCHASE_GET = '/api/business-history/purchase-sheet';
const SALE_PURCHASE_RETURN_GET = '/api/business-history/purchase-returns-sheet';

// 客户管理
const CUSTOMER_QUERY = '/api/customer/findByType';
const SALE_PURCHASE_ALL = '/api/purchase/sheet-show';
const SALE_PURCHASE_CREATE = '/api/purchase/sheet-make';
const SALE_CUSTOMER_QUERY = '/api/customer/findByType';
const SALE_CUSTOMER_MAX = '/api/sale/maxAmountCustomer';

const SALE_CUSTOMER_ALL = '/api/customer/findAll';
const SALE_USER_ALL = '/api/customer/findAllUser';

//顾客管理
const CUSTOMER_CREATE = '/api/CustomerManage/register';
const CUSTOMER_UPDATE = '/api/customer/update';
const CUSTOMER_DELETE = '/api/CustomerManage/delete';

//促销
const Promotion_CREATE = '/api/promotion/promotion';
const PROMOTION_ALL= '/api/promotion/getPromotion';


//财务管理
const RECEIPT_ALL = '/api/finance-receipt/sheet-show';
const RECEIPT_CREATE = '/api/finance-receipt/sheet-make1';
const RECEIPT_APPROVAL = '/api/finance-receipt/approval';
const PAY_CREATE = '/api/finance-pay/sheet-make';
const PAY_ALL = '/api/finance-pay/sheet-show';
const PAY_APPROVAL = '/api/finance-pay/approval';
const SALARY_CREATE = '/api/finance-salary/sheet-make';
const SALARY_ALL = '/api/finance-salary/sheet-show';
const SALARY_APPROVAL = '/api/finance-salary/approval';

//HR
const STAFF_CREATE = '/api/HR-create-user/create';
const STAFF_CHECK_IN = '/api/checkIn/checkIn';
const STAFF_QUERY = '/api/HR-create-user/showAll';


module.exports = {

    STAFF_CREATE,
    STAFF_CHECK_IN,
    STAFF_QUERY,


    TEST_GET,
    TEST_POST,

    AUTH,
    LOGIN,
    REGISTER,
    COMMODITY_CLASSIFICATION_ALL,
    COMMODITY_CLASSIFICATION_CREATE,
    COMMODITY_CLASSIFICATION_UPDATE,
    COMMODITY_CLASSIFICATION_DELETE,

    COMMODITY_ALL,
    COMMODITY_CREATE,
    COMMODITY_UPDATE,
    COMMODITY_DELETE,

    WAREHOUSE_INPUT,
    WAREHOUSE_OUTPUT_PRE,
    WAREHOUSE_OUTPUT,
    WAREHOUSE_GET_INPUTSHEET,
    WAREHOUSE_GET_OUTPUTSHEET,
    WAREHOUSE_IO_DEATIL_BY_TIME,
    WAREHOUSE_IPQ_BY_TIME,
    WAREHOUSE_OPQ_BY_TIME,
    WAREHOUSE_OUTPUTSHEET_APPROVE,
    WAREHOUSE_INPUTSHEET_APPROVE,
    WAREHOUSE_DAILY_COUNT,

    PURCHASE_ALL,
    PURCHASE_CREATE,
    PURCHASE_FIRST_APPROVAL,
    PURCHASE_SECOND_APPROVAL,
    PURCHASE_RETURN_ALL,
    PURCHASE_RETURN_CREATE,
    PURCHASE_RETURN_FIRST_APPROVAL,
    PURCHASE_RETURN_SECOND_APPROVAL,
    PURCHASE_FIND_SHEET_BY_ID,

    SALE_ALL,
    SALE_CREATE,
    SALE_FIRST_APPROVAL,
    SALE_SECOND_APPROVAL,
    SALE_CUSTOMER_QUERY,
    SALE_CUSTOMER_MAX,
    SALE_FIND_SHEET_BY_ID,
    CUSTOMER_QUERY,

    CUSTOMER_CREATE,
    CUSTOMER_UPDATE,
    CUSTOMER_DELETE,

    ACCOUNT_QUERY,
    ACCOUNT_CREATE,
    ACCOUNT_UPDATE,
    ACCOUNT_DELETE,

    RECEIPT_ALL,
    RECEIPT_CREATE,
    RECEIPT_APPROVAL,
    PAY_CREATE,
    PAY_ALL,
    PAY_APPROVAL,
    SALARY_CREATE,
    SALARY_ALL,
    SALARY_APPROVAL,

    SALE_ALL_DETAIL,

    SALE_CUSTOMER_ALL,
    SALE_USER_ALL,

    SALE_GET,
    SALE_RETURN_GET,
    SALE_PURCHASE_GET,
    SALE_PURCHASE_RETURN_GET,
    SALE_CONDITION,

    Promotion_CREATE,
    PROMOTION_ALL,
};
